Optimal. Leaf size=205 \[ -\frac{2 c^2 d e x^{n+1} \, _2F_1\left (1,\frac{n+1}{2 n};\frac{1}{2} \left (3+\frac{1}{n}\right );-\frac{c x^{2 n}}{a}\right )}{a (n+1) \left (a e^2+c d^2\right )^2}+\frac{c x \left (c d^2-a e^2\right ) \, _2F_1\left (1,\frac{1}{2 n};\frac{1}{2} \left (2+\frac{1}{n}\right );-\frac{c x^{2 n}}{a}\right )}{a \left (a e^2+c d^2\right )^2}+\frac{2 c e^2 x \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{e x^n}{d}\right )}{\left (a e^2+c d^2\right )^2}+\frac{e^2 x \, _2F_1\left (2,\frac{1}{n};1+\frac{1}{n};-\frac{e x^n}{d}\right )}{d^2 \left (a e^2+c d^2\right )} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.354646, antiderivative size = 205, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 4, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.19 \[ -\frac{2 c^2 d e x^{n+1} \, _2F_1\left (1,\frac{n+1}{2 n};\frac{1}{2} \left (3+\frac{1}{n}\right );-\frac{c x^{2 n}}{a}\right )}{a (n+1) \left (a e^2+c d^2\right )^2}+\frac{c x \left (c d^2-a e^2\right ) \, _2F_1\left (1,\frac{1}{2 n};\frac{1}{2} \left (2+\frac{1}{n}\right );-\frac{c x^{2 n}}{a}\right )}{a \left (a e^2+c d^2\right )^2}+\frac{2 c e^2 x \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{e x^n}{d}\right )}{\left (a e^2+c d^2\right )^2}+\frac{e^2 x \, _2F_1\left (2,\frac{1}{n};1+\frac{1}{n};-\frac{e x^n}{d}\right )}{d^2 \left (a e^2+c d^2\right )} \]
Antiderivative was successfully verified.
[In] Int[1/((d + e*x^n)^2*(a + c*x^(2*n))),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{\left (a + c x^{2 n}\right ) \left (d + e x^{n}\right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(d+e*x**n)**2/(a+c*x**(2*n)),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 1.13004, size = 188, normalized size = 0.92 \[ \frac{x \left (e \left (-\frac{2 c^2 d x^n \, _2F_1\left (1,\frac{n+1}{2 n};\frac{1}{2} \left (3+\frac{1}{n}\right );-\frac{c x^{2 n}}{a}\right )}{a (n+1)}+\frac{\left (a e^3 (n-1)+c d^2 e (3 n-1)\right ) \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{e x^n}{d}\right )}{d^2 n}+\frac{a e^3+c d^2 e}{d^2 n+d e n x^n}\right )+\frac{c \left (c d^2-a e^2\right ) \, _2F_1\left (1,\frac{1}{2 n};1+\frac{1}{2 n};-\frac{c x^{2 n}}{a}\right )}{a}\right )}{\left (a e^2+c d^2\right )^2} \]
Antiderivative was successfully verified.
[In] Integrate[1/((d + e*x^n)^2*(a + c*x^(2*n))),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.231, size = 0, normalized size = 0. \[ \int{\frac{1}{ \left ( d+e{x}^{n} \right ) ^{2} \left ( a+c{x}^{2\,n} \right ) }}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(d+e*x^n)^2/(a+c*x^(2*n)),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \frac{e^{2} x}{c d^{4} n + a d^{2} e^{2} n +{\left (c d^{3} e n + a d e^{3} n\right )} x^{n}} +{\left (c d^{2} e^{2}{\left (3 \, n - 1\right )} + a e^{4}{\left (n - 1\right )}\right )} \int \frac{1}{c^{2} d^{6} n + 2 \, a c d^{4} e^{2} n + a^{2} d^{2} e^{4} n +{\left (c^{2} d^{5} e n + 2 \, a c d^{3} e^{3} n + a^{2} d e^{5} n\right )} x^{n}}\,{d x} - \int \frac{2 \, c^{2} d e x^{n} - c^{2} d^{2} + a c e^{2}}{a c^{2} d^{4} + 2 \, a^{2} c d^{2} e^{2} + a^{3} e^{4} +{\left (c^{3} d^{4} + 2 \, a c^{2} d^{2} e^{2} + a^{2} c e^{4}\right )} x^{2 \, n}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((c*x^(2*n) + a)*(e*x^n + d)^2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{1}{c e^{2} x^{4 \, n} + 2 \, a d e x^{n} + a d^{2} +{\left (2 \, c d e x^{n} + c d^{2} + a e^{2}\right )} x^{2 \, n}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((c*x^(2*n) + a)*(e*x^n + d)^2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(d+e*x**n)**2/(a+c*x**(2*n)),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{{\left (c x^{2 \, n} + a\right )}{\left (e x^{n} + d\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((c*x^(2*n) + a)*(e*x^n + d)^2),x, algorithm="giac")
[Out]